package org.huzhp.audit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 用户登录信息
 * @Author: huzp
 * @CreateDate: 2020/4/10 10:17
 * @Version: 1.0
 */
@Data
@TableName(value = "base_user_log")
public class UserLog {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @TableField(value = "user_code")
    private String userCode;

    @TableField(value = "user_ip")
    private String userIp;

    @TableField(value = "user_time")
    private Date userTime;
}
